package com.sg.file.manager.api;

import com.sg.file.manager.repository.pojo.FileInfo;

import java.util.List;
import java.util.Optional;

/**
 * Created by asus on 2018/7/16.
 */
public interface IFileInfoService {
    FileInfo getById(String id);
    FileInfo save(FileInfo fileInfo);
    List<FileInfo> saveAll(List<FileInfo> fileInfo);
    List<FileInfo> queryFiles(List<String> fileIds);

    void delete(String fileId);
}
